package com.happy.manage.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.happy.common.annotation.Excel;
import com.happy.common.core.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 视频管理对象 videos
 * 
 * @author ruoyi
 * @date 2024-11-10
 */
public class xvideo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 视频ID */
    private Long videoId;

    /** 发布视频的用户ID */
    @Excel(name = "发布视频的用户ID")
    private Long userId;

    /** 视频标题 */
    @Excel(name = "视频标题")
    private String title;

    /** 视频描述 */
    private String description;

    /** 视频类型（如 "小视频", "精选视频"） */
    @Excel(name = "视频类型", readConverterExp = "如,小视频,精选视频")
    private String type;

    /** 视频URL */
    @Excel(name = "视频URL")
    private String url;

    /** 视频封面图URL */
    @Excel(name = "视频封面图URL")
    private String coverImage;

    /** 视频缩略图URL */
    @Excel(name = "视频缩略图URL")
    private String thumbnail;

    @Excel(name = "视频观看次数")
    private Integer viewCount;

    @Excel(name = "视频分类Code")
    private String categoryCode;

    private int points;
    private BigDecimal listPrice;
    private BigDecimal discountPrice;
    private String originUrl;

    public String getOriginUrl() {
        return originUrl;
    }

    public void setOriginUrl(String originUrl) {
        this.originUrl = originUrl;
    }
    public int getPoints() {
        return points;
    }

    public void setPoints(int points) {
        this.points = points;
    }

    public BigDecimal getListPrice() {
        return listPrice;
    }

    public void setListPrice(BigDecimal listPrice) {
        this.listPrice = listPrice;
    }

    public BigDecimal getDiscountPrice() {
        return discountPrice;
    }

    public void setDiscountPrice(BigDecimal discountPrice) {
        this.discountPrice = discountPrice;
    }

    public String getCategoryCode() {
        return categoryCode;
    }

    public void setCategoryCode(String categoryCode) {
        this.categoryCode = categoryCode;
    }

    public Integer getViewCount() {
        return viewCount;
    }

    public void setViewCount(Integer viewCount) {
        this.viewCount = viewCount;
    }

    public void setVideoId(Long videoId)
    {
        this.videoId = videoId;
    }

    public Long getVideoId() 
    {
        return videoId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setCoverImage(String coverImage) 
    {
        this.coverImage = coverImage;
    }

    public String getCoverImage() 
    {
        return coverImage;
    }
    public void setThumbnail(String thumbnail) 
    {
        this.thumbnail = thumbnail;
    }

    public String getThumbnail() 
    {
        return thumbnail;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("videoId", getVideoId())
            .append("userId", getUserId())
            .append("title", getTitle())
            .append("description", getDescription())
            .append("type", getType())
            .append("url", getUrl())
            .append("coverImage", getCoverImage())
            .append("thumbnail", getThumbnail())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("remark", getRemark())
            .append("viewCount", getViewCount())
            .toString();
    }
}
